[PATCH AUTOSEL 5.10 09/13] ring-buffer: Do not attempt to read past "commit"