Minor fixes in JackHaikuSemaphore.