Refactor: libcrmcommon: Avoid some dynamic memory in XML loggers
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>