taken directly from Portals-SHMEM project
add missing COMP macro
remove incorrect comment about SHMEM_CMP_##
add impl of shmem_*_wait that is taken essentially verbatim from Portals-SHMEM
Merge branch 'master' of github.com:jeffhammond/oshmpi