[PATCH 6.5 215/550] drm/mediatek: Fix coverity issue with unintentional integer overflow