OSHMEM: Added missing API for Java bindings (int16/32/64 stuff)

fixed by Roman, reviewed by Mike

cmr=v1.8.2:reviewer=ompi-rm1.8
OSHMEM: fix compiler warn

fixed by Roman, reviewed by Miked

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