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