kbuild: fix scripts/setlocalversion to avoid erroneous -dirty tag