[PATCH] tee: fix NULL pointer dereference in tee_shm_put