Convert some unnecessary StaticNativeMutexes to NativeMutexes.