Fixed deprection warnings with `.data<T>()` in SpectalOps.cpp (#67993)
Summary:
Description:
- Fixed deprection warnings `.data<T>()` -> `.data_ptr<T>()` in SpectralOps.cpp shown while building pytorch from source
```c++
../aten/src/ATen/native/mkl/SpectralOps.cpp:213:10: warning: ‘T* at::Tensor::data() const [with T = c10::complex<double>]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.
data_ptr<T>() instead. [-Wdeprecated-declarations]
213 | return reinterpret_cast<std::complex<T>*>(t.data<c10::complex<T>>());
```
Pull Request resolved: https://github.com/pytorch/pytorch/pull/67993
Reviewed By: H-Huang
Differential Revision: D32246945
Pulled By: mruberry
fbshipit-source-id: 5cd6b0ac6ddff0afc56e99641971e1e3b6434af6