[PATCH 5.15 073/102] tee: amdtee: fix use-after-free vulnerability in amdtee_close_session