Allow specifying the earliest revision in either position.

This causes `run-command-on-git-revisions master $some_old_tag $cmd` to work as if
executed as `run-command-on-git-revisions $some_old_tag master $cmd`