Reworked the X11 part of glutSetCursor, fixing bug #764187 (Variable mouse