fix for LOGBACK-743

Wrapped the call to System.getProperty in a try/catch to anticipate
the SecurityException that can result from accessing system properties
in the presence of a SecurityManager (e.g. in an applet sandbox).