Remove obsolete "merge -g" flag from update_commit_hashes.py (#97033)
The flag is deprecated and is being removed in https://github.com/pytorch/test-infra/pull/3882
Pull Request resolved: https://github.com/pytorch/pytorch/pull/97033
Approved by: https://github.com/huydhn