Do not depend on libxml include in widely included file

...and hope xmTextWriterPtr expanding to struct _xmlTextWriter * is a stable feature
of the libxml2 API

Change-Id: Ic5076df5a8b33f71c605b3aef737a99ea96b1753