kmsg: add additional buffers support to memory class