printk: Clean up do_syslog() error handling