[PATCH v2 11/12] tee: replace tee_shm_register()