Only compile alternative version of pthread_sema_* if no sync'ed instructions.
Only compile alternative version of pthread_sema_* if no sync'ed instructions.

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb