Fix compile error with updated GL Spec

userParam is const in mesa, as per the spec
https://www.opengl.org/registry/specs/ARB/debug_output.txt