[PATCH 6.12 499/512] ring-buffer: Do not trigger WARN_ON() due to a commit_overrun