[PATCH 5.15 137/144] tee: Fix tee_shm_register() for kernel TEE drivers