Revert "implement __dir__ for dynamo (#102480)" (#102766)
This reverts commit b02f48b18152ddfcf5fcbefb68f6b66a6c44b37f.
If a user does this:
```
mod = torch.compile(mod)
mod.is_compiled = True
assert "is_compiled" in dir(mod)
```
it will fail after #102480.
Differential Revision: [D46368712](https://our.internmc.facebook.com/intern/diff/D46368712)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/102766
Approved by: https://github.com/msaroufim