Reduce PyTorch warnings: Cast fix xplat/caffe2/aten/src/ATen/core/DeprecatedTypeProperties.h (#65031)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/65031
Test Plan:
```
buck build --show-output //caffe2/torch/fb/sparsenn:sparsenn_operators
buck test caffe2/torch/fb/sparsenn:test
```
Reviewed By: r-barnes
Differential Revision: D30948791
fbshipit-source-id: 13046e1d0ce2c24864ad38f318ca5e34b1bb9552