Update mpi_to_openshmem.c

Added context checking for the comms.  Fixed using MPI_COMM_WORLD in MPI_Pack/Unpack to using the current comm passed in.