avcodec/dxv: make prev variable unsigned