Remove a double const warning.
OSHMEM: fix compiler warnings

fixed by Roman, reviewed by Miked

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