Fix metal issues with irange (#66877)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/66877
Fixes (hopefully):
```
program_source:516:27: error: use of undeclared identifier 'c10'
for (const auto idx : c10::irange(4)) {
^
program_source:590:27: error: use of undeclared identifier 'c10'
for (const auto idx : c10::irange(4)) {
^
program_source:810:26: error: use of undeclared identifier 'c10'
for (const auto iy : c10::irange(roi_bin_grid_h)) {
^
program_source:811:30: error: use of undeclared identifier 'c10'
for (const auto ix : c10::irange(roi_bin_grid_w)) {
^
DeviceName: AMD Radeon Pro 5500M, LanguageVersion: 131075
Exception raised from -[MetalContext available] at xplat/caffe2/aten/src/ATen/native/metal/MetalContext.mm:66 (most recent call first):
(no backtrace available)
```
Test Plan: Sandcastle
Reviewed By: benb, xta0
Differential Revision: D31763270
fbshipit-source-id: cfe4364b14c5fe6dbd39893788919769c9a9eb00