[PATCH 6.1 191/198] drm/mediatek: Fix coverity issue with unintentional integer overflow