Mark more static data as `const`

Similar to 8f571037, mark more static data structures with
`const` keyword.

Also fix placement of `const` in encoding.c.

Original patch by Sarah Wilkin.
6 jobs for ddkilzer/upstream-data-const-fixes in 3 minutes and 22 seconds (queued for 1 second)