Fix race condition in static's inialization of mono_message_init.