[BE] Delete unused args during docker build (#92396)
Such as `TRAVIS_DL_URL_PREFIX`, `JENKINS_UID`/`JENKINS_GID` and `EC2`
Pull Request resolved: https://github.com/pytorch/pytorch/pull/92396
Approved by: https://github.com/huydhn, https://github.com/janeyx99