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