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