Disable deprecation warning on ScopedMutex