glretrace: Improved support for GPUs which have GL_ARB_timer_query but not the EXT version.

This also uses ARB query for occlusion as this is an ARB not an EXT
extension.