Refactor: various: Use pcmkoutput_t in pcmkxml_log_changes()
And rename it to pcmk__xml_show_changes().
pcmkxml_show_changes() had already been updated to create a
pcmkoutput_t object that eventually gets passed to pcmkxml_show().
This commit allows us to reuse an existing pcmkoutput_t object
(currently only done in based_callbacks.c:process_ping_reply()).
An alternative would be to allow pcmkxml_show_changes() to accept a
pcmkoutput_t argument and a log_level argument: if the output argument
is NULL, create a new temporary one based on the level argument. That
would simplify most of the callers at the expense of muddying the
interface and implementation of pcmk__xml_show_changes().
Note that there's no current need to use pcmk__xml_show_changes() with
any output format other than text and log, so we just use out->info().
Formatting the output for XML would be awkward, so I'd rather cross that
bridge if and when we come to it.
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>