Fixes #4433: shmem_init fails on 32-bit Debian
Fixes #4555: Move r31486 to v1.8 branch (OSHMEM: fix clang warnings)
Fixes #4622: Move r31751 to v1.8 branch (OSHMEM: add missing profiling API)
Fixes #4623: Move r31752 to v1.8 branch (OSHMEM: fix error message when)

Taken from one smushed large patch covering all the above

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

r31751 [[BR]]
OSHMEM: add missing profiling API for shmem_finalize

fixed by Roman, reviewed by Miked
cmr=v1.8.2:reviewer=ompi-rm1.8

r31752 [[BR]]
OSHMEM: fix error message when aborting on OOM

fixed by Roman, reviewed by Miked

cmr=v1.8.2:reviewer=ompi-rm1.8

r31486 [[BR]]
OSHMEM: fix clang warnings

fixed by Roman, reviewed by Miked

cmr=v1.8.2:reviewer=ompi-rm1.8

r31413 [[BR]]
OSHMEM: align with OSHMEM SPEC v1.0

- add some missing APIs
- change signature od shmem_finalize to comply with SGI spec

fixed by Roman, reviewed by Igor/Miked

Refs #4520

r31186 [[BR]]
Changes to VT:
	Disabled support for CUPTI API version > 4 (CUDA 6) due to API mismatch

r31202 [[BR]]
OSHMEM: better error messages when failing

Provide users with right fail reason.

fixes #4433
Cleanup the last commit as the patch missed some critical renamings
Another missed renaming