[PATCH v3 1/6] opengl32: Cleanup glGet* and fix typo in glGetDoublev.