[PATCH 5.13 12/22] drm/ttm: add a check against null pointer dereference