[PATCH 4.14 022/116] media: av7110: prevent underflow in write_ts_to_decoder()