[PATCH OLK-6.6] tee: fix NULL pointer dereference in tee_shm_put