Allow yaz_xml2query to throw a certain diagnostic