[runtime] Protect MonoImage::generic_def_objects with the image lock and not the...