[PATCH 5.4 022/194] ring-buffer: Do not record in NMI if the arch does not support cmpxchg in NMI