[PATCH 5.4 046/282] media: av7110: prevent underflow in write_ts_to_decoder()