Splitting the X11-specific "freeglut_state.c" code into its own file