[PATCH v3 05/12] tee: replace tee_shm_alloc()