[PATCH] drm/prime: fix sgt NULL checking