printk: make reading the kernel log flush pending lines