refactor registerStoragePyTypeObject (#20467)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/20467
for upcoming changes in Storage for QInt8
Reviewed By: ezyang
Differential Revision: D15330865
fbshipit-source-id: 2840e59c0bf088983f792fd724de41b3bb3dec55