add the default destructor of TensorImpl (#72190)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/72190
# Context
Some compilers could not generate the destructor correctly.
# Mitigation
add the default destructor.
Test Plan: ^CI
Reviewed By: albanD
Differential Revision: D33936970
fbshipit-source-id: c21aa1cce8565d8c25389de8970880392737afb1
(cherry picked from commit 7ab4b8b14e96e2c02d515c2d3059f1e6c1259b51)