Fix support for reference types in unbox.any in gsharedvt code.