tee: amdtee: fix use-after-free vulnerability in amdtee_close_session (CVE-2023-52503) | HOL Guard CVE