In case W_ANY for nowrap mode, avail_in and total_in should be also updated.