[LTC] Reuse more upstream LazyGraphExecutor data structures (#4303)
Summary:
This patch reuses more upstream LazyGraphExecutor data structures, including:
1. TlsData.
2. DeviceLocker.
3. DeviceLockerArena.
4. DataCacheArena.
And also reuses the following methods:
1. DeviceBarrier().
2. GetDeviceData().
3. IncTrimCounter().
P.S. It needs pytorch/pytorch#90457 to work.
Test Plan:
CI.