Fix logf behavior in voice_thread.c