CheckGLError made more useful

CheckGLError now requires a glOperation argument to specify its root
cause.