Fixes #4265: Move r30715 to v1.7 branch (OSHMEM: fix segv on finalize)

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

r30715 [[BR]]
OSHMEM: fix segv on finalize with spml/yoda

avoid double call to bml
fixed by AlexMa, reviewed by AlexM and MikeD

cmr=v1.7.5:reviewer=ompi-rm1.7