[openEuler-5.10 150/150] tee: fix memory leak in tee_shm_register()