* lisp/term/xterm.el (xterm--version-handler): Work around for OSX