[PATCH 5.15 02/14] tee: add overflow check in register_shm_helper()