[PATCH 6.6 230/603] drm/mediatek: Fix coverity issue with unintentional integer overflow