generator: move D generator code from generator.py back
glad: set profile on OpenGLSpec