scripts/setlocalversion: add more comments to -dirty flag detection