[PATCH 6.12 017/175] tee: fix memory leak in tee_dyn_shm_alloc_helper