Avoid type qualifier specified more than once (#72411)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/72411
Fixes
```
caffe2/caffe2/operators/max_pool_with_index.cu(16): warning: type qualifier specified more than once
caffe2/caffe2/operators/max_pool_with_index.cu(28): warning: type qualifier specified more than once
caffe2/caffe2/operators/max_pool_with_index.cu(61): warning: type qualifier specified more than once
caffe2/caffe2/operators/max_pool_with_index.cu(62): warning: type qualifier specified more than once
caffe2/caffe2/operators/max_pool_with_index.cu(74): warning: type qualifier specified more than once
```
Test Plan: Sandcastle
Reviewed By: malfet
Differential Revision: D34034382
fbshipit-source-id: 2b73c55358632090baf673b32b800656ae874040
(cherry picked from commit ab3f3f9a798b31002c2dc1bf0819695b69ab242d)