[reflection] Use coop handles for MonoMethod icalls (#4272)
* [reflection] Use coop handles for MonoMethod.GetGenericArguments
* [reflection] Use handles for ves_icall_MonoMethod_GetGenericMethodDefinition
and two more trivial functions:
- ves_icall_MonoMethod_get_IsGenericMethod
- ves_icall_MonoMethod_get_IsGenericMethodDefinition
* [runtime] Add mono_method_get_base_method function
- Internal function in class-internals.h, for now.
- Code factored out from ves_icall_MonoMethod_get_base_method
- ves_icall_MonoMethod_get_base_method just calls this utility and wraps on
reflection objects, using handles.
* [reflection] Use coop handles for ves_icall_MonoMethod_MakeGenericMethod_impl
* [reflection] Use coop handles for ves_icall_MonoMethod_GetPInvoke
* [reflection] Use coop handles for ves_icall_MonoMethod_get_core_clr_security_level
* [reflection] Use coop handles for ves_icall_MonoMethod_get_name