Fix error suppression syntax in onnx, jit, _dynamo (#166249)
Summary:
Ensures pyrefly will only silence one specific error code
pyrefly check
lintrunner
X-link: https://github.com/pytorch/pytorch/pull/166249
Approved by: https://github.com/oulgen
Reviewed By: clee2000
Differential Revision: D85536177
fbshipit-source-id: b4ac13ba37aeda3e034727d36c223ba6fe18d1af