Declare statics const when they are constant

Static data that is never modified should be declared const. This fixes issues found by the static analyzer.