Fix: tools: Use formatted output for more errors in crm_mon.
Many error messages were being printed out with fprintf, printf, or
print_as which means they were unconditionally printed to the console
instead of through the formatted output system. For XML and other
structured formats, this means getting plain text printed out in the
middle of the rest.
This doesn't fix all error messages. Many errors are still using
print_as, but those are only related to refreshing the screen in a loop
which should not affect XML or HTML output. Other error messages occur
before formatted output is active, or if there's an error in the
formatted output itself. These have likewise not been converted.
See: rhbz#1793653