testing/recoll: fix build with libxml2 2.12.x
"Libxml2 2.12.0 has changed the const-ness of the xmlError pointers, which results in a build error."
"Libxml2 2.12.0 has changed the const-ness of the xmlError pointers, which results in a build error."