libsyntax: Accept `static` instead of `const` for globals

r? @graydon