[PATCH 6.1 118/204] ring-buffer: Fix bytes_dropped calculation issue