[PATCH] drm/amdgpu: potential dereference of null pointer