variadic template printf and thread id