remove unused TensorImpl::unsafe_data<T>() (#98720)
Differential Revision: [D44824809](https://our.internmc.facebook.com/intern/diff/D44824809/)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/98720
Approved by: https://github.com/ezyang