[PATCH openEuler-1.0-LTS 2/2] tee: fix compiler warning in tee_shm_register()