skip null TextAttributesKey when processing var arg (EA-59728)
(cherry picked from commit d24f468)