[PATCH 5.17 090/219] drm/msm: Fix range size vs end confusion