drm/amd: fix potential memory leak (CVE-2022-50479) | HOL Guard CVE