[runtime] Protect MonoImage::files with the image lock and make image loading optimistic.