[AOT][CUDAGraphs] torchdynamo -> torch._dynamo (#87243)
Fixes lingering issues from the torchdynamo -> torch._dynamo migration
Pull Request resolved: https://github.com/pytorch/pytorch/pull/87243
Approved by: https://github.com/suo, https://github.com/voznesenskym, https://github.com/jansel