Don't call glGetError in release mode (when NDEBUG is set)