Activate TracingContext earlier (#100043)
Ensure any calls into VariableTracker have a valid TC
Previously, Calls into VariableBuilder from symbolic locals construction were not done under an active TC.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/100043
Approved by: https://github.com/anijain2305