[PATCH 4.18 025/123] printk: Split the code for storing a message into the log buffer