Refactor: libcrmcommon: Don't use insert_spaces in log_xml_element()
The caller already ensures buffer != NULL and depth >= 0. This will make
it a little easier to move logging functions to a separate file.
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>