Update mpi_to_openshmem.c

Added allgather and gather.