oshmem: refactor of oshmem/mca/sshmem/*.[ch] files to use #if MACRO style

(ompi commit: de68d58a9e64eb1d8c5f43a9ec7cd7becad11553)