[ROCm] ubuntu version check in install_rocm.sh (#57751)
Summary:
In preparation for ROCm 4.2 release changing the apt repo name from xenial to ubuntu.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/57751
Reviewed By: agolynski
Differential Revision: D28385479
Pulled By: malfet
fbshipit-source-id: 10ad225b71857226d8e36eaa62eba4511d9362e7