Set USE_RCCL cmake option (dependent on USE_NCCL) [REDUX] (#34683)
Summary:
Refiled duplicate of https://github.com/pytorch/pytorch/issues/31341 which was reverted in commit 63964175b52197a75e03b73c59bd2573df66b398.
This PR enables RCCL support when building Gloo as part of PyTorch for ROCm.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/34683
Reviewed By: glaringlee
Differential Revision: D25540578
Pulled By: ezyang
fbshipit-source-id: fcb02e5745d62e1b7d2e02048160e9e7a4b4df2d