[PATCH openEuler-5.10-LTS 20/94] drm/msm: Fix range size vs end confusion