Fix the bug of comm headers. (#98658)
`comm.hpp` is exposed to the developer under `torch/include/torch/csrc/distributed/c10d/`.
But when I use it, the following error occurs : `undefined symbol:xxx`. So I want it can expose to developer.
![image](https://user-images.githubusercontent.com/37650440/230697500-ec095103-3566-4415-88df-17491f01846e.png)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/98658
Approved by: https://github.com/ezyang