Right now we call date directly from meson.build leading to
non-reproducible builds.
This commit makes it only call date when building from git,
otherwise it extracts the version from the tarball name.
script borrowed from accountsservice.
Closes https://gitlab.freedesktop.org/plymouth/plymouth/-/issues/188