Revert "bugfix: fixed libxml2 compilation error (for versions >= 2.9.0)"

This reverts commit dd5747714e466f1163cb840439772942b83b434f.

Same changes are allready in devel in commit
dbf841b1c4b8ef2107ffbeca18338a8450129d83