[PATCH 6.2 227/240] tee: amdtee: fix race condition in amdtee_open_session