Add support for org.lwjgl.opengl.maxVersion system property

When defined, functions above the specified version will not be loaded, even if they are exposed by the OpenGL driver.
Merge remote-tracking branch 'upstream/master'