make ATen/native/cuda/TensorModeKernel.cu data_ptr-correct (#99330)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/pytorch/pytorch/pull/99330).
* __->__ #99330
make ATen/native/cuda/TensorModeKernel.cu data_ptr-correct
Test Plan: Rely on CI.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/99330
Approved by: https://github.com/ezyang