[PATCH v2 2/3] opengl32: Add a helper to read OpenGL registry options.