Get rid of some duplicate const qualifiers.