Fix up $TERM for emacs/xterm-title.el.