Skip the bisection when the start and end hash are the same (#2044)
Summary:
Nightly releases could be built from the same commit on the main branch (e.g. [20231112](https://github.com/pytorch/pytorch/commit/63a5a14da9ef3ebd68ce0cebea4aa84e030a2cf8) and [20231113](https://github.com/pytorch/pytorch/commit/a45a8bf9e7e1530692f2703f8da430bc2825af7c)).
If it happens, we can just skip the bisection because there is no code change.
Pull Request resolved: https://github.com/pytorch/benchmark/pull/2044
Test Plan: https://github.com/pytorch/benchmark/actions/runs/6906833305
Reviewed By: aaronenyeshi
Differential Revision: D51429932
Pulled By: xuzhao9
fbshipit-source-id: 1ee006f12006689f53483bbf8beb764557e024ca