hash: fix build on non-x86 arch
hash: fix build on non-x86 arch

In the no-x86 branch, a parentheses is missing.
And need to include <limits.h> header to use CHAR_BIT.

Fixes: 49361c3f3cfa ("hash: remove duplicated code")

Signed-off-by: Bruce Liu <3a8aec0fac10f2ff58efa0674980eb280ef59cbe@qq.com>
Acked-by: Bruce Richardson <66b9e8e8fbd5e9f41f91b0af050876182ce9d0e4@intel.com>

venkynv/dpdk-mirror,john-mcnamara-intel/dpdk,tsphillips/dpdk-fork,venkynv/dpdk-mirror,mixja/dpdk,mixja/dpdk,tsphillips/dpdk-fork,john-mcnamara-intel/dpdk,tsphillips/dpdk-fork,john-mcnamara-intel/dpdk,mixja/dpdk,msune/dpdk,msune/dpdk,msune/dpdk,tsphillips/dpdk-fork,mixja/dpdk,john-mcnamara-intel/dpdk,venkynv/dpdk-mirror,msune/dpdk,venkynv/dpdk-mirror