[runtime] Lock the root domain in mono_jit_info_add_aot_module () to simplify locking.