fixed crash when glDebugCallbackARB is available but glDebugCallback isn't