[runtime] Reorganize mono_class_setup_interfaces () so most of the work is done outside the loader lock.