[ROCm] add 4.2 to nightly builds (#58143)
Summary:
Depends on https://github.com/pytorch/builder/pull/764.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/58143
Reviewed By: agolynski
Differential Revision: D28385532
Pulled By: malfet
fbshipit-source-id: 1a37b1d4636327f8e1d0d5cfaa03f652565f8e38