[runtime] Use MonoError for mono_try_assembly_resolve