[PATCH OLK-5.10 v6 04/10] drm/ttm: check null pointer before accessing when swapping