Improve warning when returning null from the resolver set by libxml_set_external_entity_loader Fixes GH-11952. Closes GH-12022.