Fix coverity bugs in ketama.c and whitespace