[PATCH 04/12] util: xml: Refactor cleanup in virXMLValidateAgainstSchema