[PATCH OLK-6.6 406/470] ring-buffer: Do not record in NMI if the arch does not support cmpxchg in NMI