Optimized mono_custom_attrs_from_class lookups by hashing them