Adjust binary_linux_test.sh to support reruns
When GitHub workflow is re-run, multiple build artifacts can be available after re-run to test (for example, see [this](https://github.com/pytorch/pytorch/runs/5614756780?check_suite_focus=true#step:15:622) workflow for example)
Pick the latest one
Pull Request resolved: https://github.com/pytorch/pytorch/pull/74511
Approved by: https://github.com/suo