Clean up libxml2's global generic error context appropriately