move ROCm 3.5 thunk upgrade from build.sh into test.sh (#40286)
Summary:
https://github.com/pytorch/pytorch/issues/40181 incorrectly placed the thunk work-around into the build.sh scripts. It needed to be in test.sh.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/40286
Differential Revision: D22140366
Pulled By: xw285cornell
fbshipit-source-id: 2a3d73594d1963c8c80cd8c45d06f1c963b9cbee