pios_semaphore: fixed initial semaphore state for non FreeRTOS implementation