glretrace: Don't attempt to replay failed CGL calls.
glretrace: Obey recorded CGL context profile on a per-pixelformat basis.

Plus a few minor changes to enable that.
glstate: Cleanup inflection suffixing.
glstate: Dump buffer parameters.
glstate: Dump more parameters associated with the active texture.
glstate: Better support dumping texture buffer state.

There's still more to be done though, because glGetTexImage can't be
used with GL_TEXTURE_BUFFER.
glstate: Use glGet_texture key for enable/binding parameters.

Instead of using ad-hoc code.
glstate: Don't treat GL_TEXTURE_BUFFER as boolean.