LOGBACK-960 Prevent a possible NPE in SyslogAppenderBase.close()

[LOGBACK-960](http://jira.qos.ch/browse/LOGBACK-960)

This pull request fixes a possible NPE that can happen in SyslogAppenderBase if the appender wasn't cleanly started, e.g., due to a problem looking up the syslog server hostname.