Fixes #4392: Move r31067 to v1.7 branch (Rearrange ordering of redirection)

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

r31067 [[BR]]
Rearrange ordering of redirection

This prevents "/usr/bin/which: no oshmem_info ..." messages from
appearing.

cmr=v1.7.5:reviewer=rhc