build/common: clean /tmp and /var/tmp at the end of the build