Use the right run_test for inductor opinfo tests (#94312)
One of the side effect of this is that this is not properly skipped on 3.11
As a side note, it was very surprising to find testing-specific code in `torch._dynamo` and not `torch.testing`...
Pull Request resolved: https://github.com/pytorch/pytorch/pull/94312
Approved by: https://github.com/ezyang