Set back libxml_disable_entity_loader state after use

@LukasReschke @karlitschek as discussed: setting back the entity loader state after disabling.