Fixed crash when OpenGL version parse fails

and dump more useful information for us in the graphics.log file.
The `if (OpenGLversion.Major < 2)` check in WriteGraphicsLog throws an NRE when the version parsing fails.