[PATCH 4.14 14/95] scripts/setlocalversion: Improve -dirty check with git-status --no-optional-locks