[PATCH] tee: add overflow check in tee_ioctl_shm_register()