[ONNX] Fix duplicated output same name case (#64190) (#66137)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/66137
* fix duplicated output node same output name issue.
Test Plan: Imported from OSS
Reviewed By: malfet
Differential Revision: D31424100
fbshipit-source-id: b1b06a92c51744030788b651f3a597d987a8deda
Co-authored-by: hwangdeyu <dejack953@outlook.com>