Core: Refine the implementation of connection handle

Move the creation of connection handle from tfm_svcall_psa_reply()
function to tfm_svcall_psa_connection() function. This change will
make it possible to return the error to client when handle creating
failed.

Change-Id: I2efdd5b2876e5094261ea86829a6aafe8eb00053
Signed-off-by: Summer Qin <summer.qin@arm.com>
2 files changed