[CircleCI] Add RocM build/test jobs (#39760)
Summary:
Set PYTORCH_ROCM_ARCH to `gfx900;gfx906` if `CIRCLECI` environment variable is defined
Add RocM build test jobs and schedule them on `xlarge` and `amd-gpu` resource classes respectively.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/39760
Differential Revision: D22290335
Pulled By: malfet
fbshipit-source-id: 7462f97b262abcacac3e515086ac6236a45626d2