Optimize Chain::AppendTo(string*): resize the string once and then copy characters from blocks.
Optimize Chain::AppendTo(string*): resize the string once and then copy
characters from blocks.

PiperOrigin-RevId: 198685401

google/riegeli,google/riegeli,google/riegeli,google/riegeli