patch for libxml_disable_entity_loader() backward compatibility