CVE-2024-46720 drm/amdgpu: fix dereference after null check