[PATCH 5.10 175/201] drm/ttm: check null pointer before accessing when swapping