Fix git-version.h handling

4 jobs for master in 4 minutes and 15 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Build
passed #366110
latest-autotools-lcms

00:03:03

passed #366111
latest-autotools-nolcms

00:04:14

passed #366108
latest-meson-lcms

00:02:15

passed #366109
latest-meson-nolcms

00:02:12