Fixes #4360: Move r30987 to v1.7 branch (OSHMEM: fix cleanup )

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

r30987 [[BR]]
OSHMEM: fix cleanup 

add proper cleanup for sysv shmem segments
fixed by Igor, reviewed by Miked

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