OSHMEM: fix warnings

Thanks to Jeff for spotting.

fixed by Igor, reviewed by Mike

cmr=v1.7.5:reviewer=ompi-rm1.7
OSHMEM: fix fortran selection logic

based on offline discussion and agreement with Jeff

fixed by Roman, reviewed by Igor/Mike
cmr=v1.7.5:reviewer=ompi-rm1.7