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