Remove deprecated usage of glGetString(GL_EXTENSIONS)

This failed for me on mac, because the ability to pass GL_EXTENSIONS to `glGetString` was removed. This version works for me.