serial: use RT_SERIAL_RB_BUFSZ to define the size of ring buffer.