glretrace: Handle core/compatibility profiles better.

Core profiles are the default, but are only supported on version 3.2
onwards, and ignored before that.
glretrac: Fix PROFILE_COMPAT definition.

It should have version 1.0 for consistency.