[Linaro-mm-sig] [PATCH v6 12/36] drm: mediatek: use common helper for extracting pages array