chatbuf_color: recolorize older lines when assigning new colors