LOGBACK-268 - Fair locking in OutputStreamAppender

Fix LOGBACK-268 by using a fair ReentrantLock (instead of object
synchronization).