[PATCH] tee: optee: smc_abi: Fix use-after-free in optee_smc_open