log4cxx: patch to fix compilation on 10.9

Fixes #23744.
Closes #23798.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>