drm/amdgpu: fix possible UAF in amdgpu_cs_pass1() (CVE-2023-52921) | HOL Guard CVE