Fixes #3635: Move r28621 to v1.6 branch

---svn-pre-commit-ignore-below---

r28621 [[BR]]
Per https://svn.mpi-forum.org/trac/mpi-forum-web/ticket/256, we need
to set *flag=1 when source == MPI_PROC_NULL.