OSHMEM: Fix call prepare_src with a NULL endpoint

see issue: https://svn.open-mpi.org/trac/ompi/ticket/4399

Refs #4399

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