scripts: support any git revisions as ABI validation range