Disable dynamo'd test_optim entirely (#103323)
See issue https://github.com/pytorch/pytorch/issues/103322.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/103323
Approved by: https://github.com/DanilBaibak, https://github.com/atalman, https://github.com/malfet