checkother: improved constness of local variables, no functional change.