Set TMPDIR explicitly on OS X

TMPDIR defaults to a long path on OS X. This causes issues with ssh
ControlPath when using Tramp with long hostnames. Fix it by setting
TMPDIR to /tmp.