[PATCH AUTOSEL 5.10 08/17] drm/ttm: add a check against null pointer dereference