FreeRTOS: Fix current thread ID when no threads are active