generator: fix glenums
main: read gl.xml if it exists