printk: fix buffer overflow when calling log_prefix function from call_console_drivers