sync: do not require python 3.9
sync: do not require python 3.9

Use pre-3.9 syntax for NamedTuple, so that users do not need to have
python 3.9 or later installed.

Bug: b/255632143, crbug.com/gerrit/16355
Test: manually verified with python 3.8
Change-Id: I488d2d5267ed98d5c55c233cc789e629f1911c9d
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/349395
Tested-by: LaMont Jones <01939f9990a33aa2509cfaed21d2f9ba201a2b37@google.com>
Reviewed-by: Jonathan Nieder <96e93edf89a1b75e35c5d08e01778cfc4fff73d9@google.com>

GerritCodeReview/git-repo,lewixliu/git-repo,lewixliu/git-repo,GerritCodeReview/git-repo