[PATCH 5.4 129/152] drm/vmwgfx: Fix two list_for_each loop exit tests