[ROCm] Get rocm version from /opt/rocm/.info/version (#5815)
Previously we used to get ROCm version information from
/opt/rocm/.info/version-dev file.
This PR is to modify the code to get ROCm version from
/opt/rocm/.info/version file instead to add compatibility with ROCm
Centos9 docker images.
cc: @jithunnair-amd
Co-authored-by: Logan Adams <114770087+loadams@users.noreply.github.com>