Array size must be constant

Switch to [const globals](https://github.com/rust-lang/rfcs/pull/246) for array sizes. Added in [PR 17853.](https://github.com/rust-lang/rust/pull/17853)

(I changed the name of the constant since it triggered the `non_uppercase_statics` style lint.)