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