semaphore.h: Revert the last commit. NULL is not defined here.