[PATCH 4.18 027/123] printk/nmi: Prevent deadlock when accessing the main log buffer in NMI