Update mpi_to_openshmem.c

added gatherv.  Cleaned up code for gather.