[PATCH 6.12 016/175] tee: fix NULL pointer dereference in tee_shm_put