Revert "Replace _dynamo.config with an object instead of module (#96455)"
This reverts commit 420104a88654b0cf1b8600d042cd1f3c90ec5a59.
Reverted https://github.com/pytorch/pytorch/pull/96455 on behalf of https://github.com/jansel due to BC breaking, was landed prematurely