Fix validation of "preN" git tags for git-version.h.