hold references to storages during TorchScript serializaiton (#59642)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/59642
Test Plan: Imported from OSS
Reviewed By: jbschlosser, cccclai
Differential Revision: D28968947
Pulled By: Lilyjjo
fbshipit-source-id: 0046da8adb3a29fb108965a1d2201749fe2d0b41