Move next_out and avail_out out of ZStream and into private temporary
state.