Redmine#2555: skip XML tests if !HAVE_LIBXML2

See [Redmine#2555](https://cfengine.com/dev/issues/2555).