lzwenc: change assert to av_assert