Fix typing errors in torch.distributed.distributed_c10d.* (#47532)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/47532
Test Plan: Imported from OSS
Reviewed By: walterddr
Differential Revision: D24952501
Pulled By: xuzhao9
fbshipit-source-id: 9b2dd1069eb1729c24be00f46da60d6a0439a8da