[ONNX] Migrate SARIF from attr to dataclasses (#85651)
Move to dataclasses since PyTorch does not depend on `attr`.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/85651
Approved by: https://github.com/justinchuby, https://github.com/AllenTiTaiWang, https://github.com/abock, https://github.com/thiagocrepaldi