cgltrace: Enhance CGL parsing.

- Add recently added members
- Better trace opengl profile selection
- Cleanup/simplify spec
- Avoid deprecated warnings