[PATCH 6.12 238/423] ring-buffer: Fix bytes_dropped calculation issue