[PATCH 5.10 02/52] tee: fix NULL pointer dereference in tee_shm_put