API: libcrmcommon: drop crm_config_error global variable
Make internal, rename to pcmk__config_has_error, and type as bool instead of gboolean.