[PATCH 2/2] tee: amdtee: synchronize access to shm list