[PATCH 5.4-stable] scripts/setlocalversion: make git describe output more reliable