[PATCH v12 3/8] drm/mediatek: add mtk_dither_set_common() function