[ROCm] add 4.0.1 docker image (#51507)
Summary:
Add a ROCm 4.0.1 docker image for CI. Keep the 3.10 image.
Keep the 3.9 image until the 3.9 image is no longer needed.
Plan is to keep two ROCm versions at a time.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/51507
Reviewed By: seemethere
Differential Revision: D26350348
Pulled By: malfet
fbshipit-source-id: 6230278343ee48f19e96067180590beab96b17cc