[PATCH 5.8 085/464] drm/amdgpu: avoid dereferencing a NULL pointer