opengl32: Optimize thunks by storing GL context in the thread environment block.