[PATCH openEuler-1.0-LTS 1/2] tee: add overflow check in register_shm_helper()