[scripts] mkloopcard: use /var/tmp as TMPDIR