tcpwrapper: Fix signage problems in the tcp_wrappers hash function