Fixes #4384: Move r31053 to v1.7 branch (The random number generator changes)

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

r31053 [[BR]]
The random number generator changes were incomplete (typo errors) in some places, and is missing the required declspec's for visibility.

cmr=v1.7.5:reviewer=jsquyres
Refs #4372: Move r31010, 31026, 31027, 31028, 31032, r31033 to v1.7 branch (Remove "medium" RMA interfaces)

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

r31056 [[BR]]
Refs #4372: 3rd and hopefully final addendum to Fortran API fixes for the RMA functions

These parameters should not be marked as INTENT(OUT) (they aren't in
the MPI-3 standard).