[PATCH 5.4 126/154] ring-buffer: Fix bytes_dropped calculation issue