fix bug in GL_MIRRORED_REPEAT_ARB (Ian Romanick)