OSHMEM: fix clang warnings

fixed by Roman, reviewed by Miked

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