[PATCH 5.1 338/405] media: vicodec: reset last_src/dst_buf based on the IS_OUTPUT