port for issue 393 of zf1 - always reset libxml_disable_entity_loader

by resetting libxml as soon as possible