[PATCH 5.17 229/772] drm/vmwgfx: Fix an invalid read