Fix gl_debug_proc function for unexpected parameters

Not the best and cleanest fix, but prevents crashes and adds support for the Notification message level.