const-ize some declarations

no functional change