[MPI] Allow previously initialized (#105023)
This pull request fixes #33943 for those applications that initialize MPI before `init_process_group("mpi", ...)` call, including `mpi4py`, some LibTorch applications and beyond.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/105023
Approved by: https://github.com/H-Huang