dependencies: Also strip git version from llvm version
dependencies: Also strip git version from llvm version

If LLVM is built from a git mirror instead of from SVN it will have
"git-<very short sha>" at the end of the version. We need to remove that
so that version comparison will work correctly.

Fixes: #2786

trhd/meson,mesonbuild/meson,pexip/meson,QuLogic/meson,MathieuDuponchelle/meson,jeandet/meson,mesonbuild/meson,trhd/meson,jpakkane/meson,pexip/meson,thiblahute/meson,jeandet/meson,becm/meson,pexip/meson,jpakkane/meson,MathieuDuponchelle/meson,MathieuDuponchelle/meson,jpakkane/meson,trhd/meson,becm/meson,trhd/meson,mesonbuild/meson,becm/meson,MathieuDuponchelle/meson,thiblahute/meson,becm/meson,QuLogic/meson,thiblahute/meson,MathieuDuponchelle/meson,jeandet/meson,mesonbuild/meson,jeandet/meson,becm/meson,trhd/meson,thiblahute/meson,QuLogic/meson,QuLogic/meson,jpakkane/meson,QuLogic/meson,QuLogic/meson,mesonbuild/meson,pexip/meson,thiblahute/meson,MathieuDuponchelle/meson,pexip/meson,pexip/meson,QuLogic/meson,jpakkane/meson,thiblahute/meson,becm/meson,trhd/meson,MathieuDuponchelle/meson,pexip/meson,mesonbuild/meson,trhd/meson,becm/meson,jpakkane/meson,MathieuDuponchelle/meson,becm/meson,thiblahute/meson,trhd/meson,jeandet/meson,pexip/meson,mesonbuild/meson,trhd/meson,jpakkane/meson,thiblahute/meson,thiblahute/meson,jpakkane/meson,QuLogic/meson,becm/meson,jeandet/meson,jeandet/meson,mesonbuild/meson,mesonbuild/meson,jeandet/meson,jpakkane/meson,pexip/meson,pexip/meson,becm/meson,QuLogic/meson,jeandet/meson,MathieuDuponchelle/meson,mesonbuild/meson