avcodec/decode: also update consumed bytes on last_pkt_props->size