trylock was returning 1 previously when it was able to set the lock, for shmem it should be 0
trylock was returning 1 previously when it was able to set the lock, for shmem it should be 0

jeffhammond/oshmpi,jeffhammond/oshmpi