mesa: add KHR_no_error support to glDetachShader() and glDetachObjectARB()