cgltrace: Temporary workaround for SDL dlopening libGL.dylib directly.

Addresses the first problem reported in issue #278.