ring-buffer: Add lost event count to end of sub buffer