Refactor: libcrmcommon: Be more thorough in checking out != NULL.
In all the various core formatted output functions, make sure that out
is not NULL and out->priv is not NULL before doing anything else. Also,
the check for out->priv can be removed from several of these functions
because it's not even being used.