Refactor: libcrmcommon: Reduce duplication in pcmk__xml_read()
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>