[PATCH AUTOSEL 5.15 11/18] ring-buffer: Do not attempt to read past "commit"