Fix the if condition inside set-title-precmd to not do anything if
':omz:terminal' autotitle is not true. There is a bug in the original
version where if the user sets autotitle to false the else condition is
automatically executed. This causes OSX escape commands to be printed to
the terminal on non-OSX systems.