gitrev.sh: make it usable during buildkernel/world