The check cppcoreguidelines-avoid-non-const-global-variables is disabled in
.clang-tidy, and both tables are function-local constants. In
valid_utf8_prefix(), test the byte through the returned pointer instead of
indexing data again.
Signed-off-by: Niels Lohmann <mail@nlohmann.me>