if the callee interface method is not generic, but the constained constraint
uses a generic var or mvar, do the indirect interface call.
fixes https://github.com/dotnet/runtime/issues/65384
MonoGenericContext *cmethod_context = mono_method_get_context (cmethod);
context_used = mini_method_check_context_used (cfg, cmethod);
+ if (!context_used && gshared_static_virtual)
+ context_used = mini_class_check_context_used (cfg, constrained_class);
if (context_used && mono_class_is_interface (cmethod->klass) && !m_method_is_static (cmethod)) {
/* Generic method interface