Constify some getters in RedeclarableTemplateDecl