Upgrade libxml2 to 2.9.2

Based on @flavorjones' work, support for the latest version of libxml2 should now be complete.

Closes #986.