[runtime] Use the mono_mutex types/functions instead of CriticalSection's.