session-func.c: Use a macro for getting SSH options names.

* src/session-func.c: Use a short macro for getting long SSH
  options names.
  (TYPE): New macro.
  (set_option): Use TEST macro.