Fix type mismatches on call to siphash()

siphash() takes a const unsigned char* for `id`, not a const char*. We
probably want to also actually return that result, I think.