Fix detecting and reporting OpenGL version on Windows.

On some systems, we need to request a QGLFormat of at least the same
version we are checking.