[PATCH 6.13 285/499] ring-buffer: Fix bytes_dropped calculation issue