[PATCH 6.10 104/184] drm/amdgpu: fix dereference after null check