[PATCH 6.14 561/731] ring-buffer: Fix bytes_dropped calculation issue