Use a mutex when disabling hooks in MH_Uninitialize