[PATCH 5.15 123/183] ring-buffer: Do not attempt to read past "commit"