pios_semaphore: fixed initial state for non FreeRTOS implementation