Check that variables declared with `const var` can not be modified. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>