Fix building from git snapshots / archive
meson/git-version-gen requires either building from git checkout with tags, or from the meson dist
released tarball.
Otherwise meson fails with errors such as meson.build:13:0: ERROR: Index 1 out of bounds of array of size 1.
We may want to have the fallback version hardcoded in meson.build, although that requires manual version/bump.