Check if UserStackFrame is null

Sometimes the userstackframe can be null in Log4jXmlEventLayoutRenderer.
To avoid a NullReferenceException check of null, and continue.
fixes #146