Bad error reporting in loader

Both mono_class_from_typeref_checked and mono_class_get_checked sometimes fail without a decent message.


Reference: https://bugzilla.xamarin.com/show_bug.cgi?id=41578