Revert D34604067: [PyTorch] [Model Tracer] Use c10::Synchronized<T> for custom classes tracer
Test Plan: revert-hammer
Differential Revision:
D34604067 (https://github.com/pytorch/pytorch/commit/372378b18b2c01b3dedfe396438c8883ad6159c5)
Original commit changeset: bd2ca366fe1b
Original Phabricator Diff: D34604067 (https://github.com/pytorch/pytorch/commit/372378b18b2c01b3dedfe396438c8883ad6159c5)
fbshipit-source-id: f434b5e3aee3bbe562b62f352235264d905fc59e
(cherry picked from commit ca0085ea39e216266a65f014122a2642acdc0954)