OSHMEM: bug fix for hca selection from list

fixed by AlexM, reviewed by Miked

cmr=v1.8.2:reviewer=ompi-rm1.8
OSHMEM: fix segv with new OFED

new OFED changed struct layout and static assignment caused segv.
detect struct new layout and use dynamic assignment

fixed by AlexM, reviewed by Miked

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