[profiler] record nccl version in distributed info (#121044)
Summary: Add a field of NCCL version in distributed info if backend is NCCL
Differential Revision: D54432888
Pull Request resolved: https://github.com/pytorch/pytorch/pull/121044
Approved by: https://github.com/aaronenyeshi