Unbreak build with libxml >=2.12.0

Index: src/libxml2_loader.cpp
--- src/libxml2_loader.cpp.orig
+++ src/libxml2_loader.cpp
@@ -79,7 +79,7 @@ class libxml2_loader : util::noncopyable (public)
 
         if (!doc)
         {
-            xmlError * error = xmlCtxtGetLastError(ctx_);
+            const xmlError * error = xmlCtxtGetLastError(ctx_);
             if (error)
             {
                 std::string msg("XML document not well formed:\n");
@@ -118,7 +118,7 @@ class libxml2_loader : util::noncopyable (public)
         if (!doc)
         {
             std::string msg("XML document not well formed");
-            xmlError * error = xmlCtxtGetLastError( ctx_ );
+            const xmlError * error = xmlCtxtGetLastError( ctx_ );
             if (error)
             {
                 msg += ":\n";
