curl_xml: Code cleanup, clang-format