[PATCH 6.1 012/104] tee: fix NULL pointer dereference in tee_shm_put