Remove casting-away-const-ness

Now that we've migrated from `const CharBuf*` through `const String*` to
simply `String*`, this long-awaited change can be made.