Fix sync images to take the syncer's id from mpi_status.
Fix sync images to take the syncer's id from mpi_status.

Take the source index of the image that is sending the current image data from
the MPI_status handle of Waitany instead of the index i, which only denotes the
handle in the array of receive-requests.

jerryd/opencoarrays,zbeekman/opencoarrays,jerryd/opencoarrays,zbeekman/opencoarrays,sourceryinstitute/opencoarrays,zbeekman/opencoarrays,sourceryinstitute/opencoarrays,sourceryinstitute/opencoarrays,jerryd/opencoarrays