[runtime] Call mono_class_setup_methods () before accessing klass->method.count. Fixes #16883.