[PATCH 4.19 031/149] scripts/setlocalversion: Improve -dirty check with git-status --no-optional-locks