gl2: move OpenGL version string parsing to internal/glutil
gl2: more idiomatic Go