[PATCH 4.14 094/165] printk: Split the code for storing a message into the log buffer