[PATCH 5.15 136/146] tee: amdtee: fix race condition in amdtee_open_session