[PATCH v1, 06/12] media: mtk-vcodec: Refactor get and put capture buffer flow