[PATCH 5.15 07/64] tee: fix NULL pointer dereference in tee_shm_put