core: syscall_open_ta_session: do not copy session if TA is not found
core: syscall_open_ta_session: do not copy session if TA is not found

Fixes the following xtest failure on HiKey:

 root@HiKey:/ xtest 8031
 [...]
 * XTEST_TEE_8031 a7-a3-6b
 ERR [761] TEES:load_ta:317:   TA not found
 ERR TEE-CORE:_assert_log:38: Assertion
 '((vaddr_t)kaddr - tee_svc_uref_base) < UINT32_MAX' failed at
 core/include/tee/tee_svc.h:83

Signed-off-by: Jerome Forissier <ced78d268b4c9a0a20a59a9feeebd2ad90da03d3@linaro.org>
Reviewed-by: Pascal Brand <0b55292d2562685bad4ce52d64f802e8f1cd299e@linaro.org>
Reviewed-by: Jens Wiklander <7706914404370d7502c27a0eff493dcf491feb51@linaro.org>

matt2048/optee_os,cedric-chaumont-st-dev/optee_os,Microsoft/optee_os,pascal-brand-st-dev/optee_os,Microsoft/optee_os,matt2048/optee_os,cedric-chaumont-st-dev/optee_os,cedric-chaumont-st-dev/optee_os,Microsoft/optee_os,Microsoft/optee_os,pascal-brand-st-dev/optee_os,pascal-brand-st-dev/optee_os,pascal-brand-st-dev/optee_os,Microsoft/optee_os,pascal-brand-st-dev/optee_os,matt2048/optee_os,cedric-chaumont-st-dev/optee_os,matt2048/optee_os