Upgrade CI to ROCm5.0
cc @jaglinux @pruthvistony @arindamroy-eng @kyleczh
Depends on https://github.com/pytorch/pytorch/pull/73906
Fixes https://github.com/pytorch/pytorch/issues/65884 as well
Pull Request resolved: https://github.com/pytorch/pytorch/pull/73105
Approved by: https://github.com/osalpekar, https://github.com/malfet