Move ShapeEnv config out of dynamo (#112933)
Summary:
Previously there was a circular dependency between fx and dynamo that happened
to work out since ShapeEnv didn't access the config at module init time.
X-link: https://github.com/pytorch/pytorch/pull/112933
Approved by: https://github.com/ezyang
Reviewed By: PaliC
Differential Revision: D51057187
fbshipit-source-id: fc38e8f8c81d2ea0dc499859acdd1fd15688a19f