[BE] [GHA] Use `aws ecr get-login-password` (#67709)
Summary:
Replacing `aws ecr get-login` with `awc ecr get-login-password`, per https://docs.aws.amazon.com/cli/latest/userguide/cliv2-migration.html#cliv2-migration-ecr-get-login
Follow up after the similar change in CircleCI: https://github.com/pytorch/pytorch/pull/58308
Pull Request resolved: https://github.com/pytorch/pytorch/pull/67709
Reviewed By: seemethere, janeyx99
Differential Revision: D32119319
Pulled By: malfet
fbshipit-source-id: 0cd0d8f4d81e9981a5f8fbf9b812a9167fd48135