output-item: Fix memory leak in output_item_dump().