Update COMPILE_TIME_MAX_DEVICE_TYPES to 12 (#46327)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/46327
### Summary
Update the COMPILE_TIME_MAX_DEVICE_TYPES to 12 as we landed a new Metal backend.
### Test Plan
- Circle CI
Test Plan: Imported from OSS
Reviewed By: IvanKobzarev
Differential Revision: D24309189
Pulled By: xta0
fbshipit-source-id: eec076b7e4fc94bab11840318821aa554447e541