fixed inconsistency in GL.checkShaderInfo