more stable _POSIX_BARRIERS macro check in plasma_test.c

Some POSIX system will define _POSIX_BARRIERS to (-1) like Mac OSX