Added a missing const specifier to charseq internals.