[aot] Use gsharedvt for collection types instantiated with generic structs as well.