tee: fix compiler warning in tee_shm_register()
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.10.143 by commit 465eecd2b3a40c488eca5f183add705cd827921e, it was introduced in version v5.10.137 by commit 578c349570d2a912401963783b36e0ec7a25c053. For more details please see the references link.