[PATCH 5.18 267/879] drm/vmwgfx: Fix an invalid read