[PATCH 6.6 151/268] ring-buffer: Fix bytes_dropped calculation issue