serial_core: Update buffer overrun statistics.