klatt.c: fix buffer warnings when compiling with clang.