Seen while investigating size differences between legacy Mono and netcore Mono when used for iOS.
Some generic functions take generic parameters that themselves have type parameters that have struct constraints, but we still generate T_REF (boxed, non-value-type, shared) instantiations for these functions.
(This should affect any target that uses FullAOT; this includes iOS/tvOS)