[PATCH for 5.10.y] tee: fix memory leak in tee_shm_register()