Import glReadPixels from the correct place. Fixes #2032.