hash_value: Fixed truncation bug on 64-bit architectures. The hash value was truncated to 32 bits. Fixes testsuite failures on Solaris/sun4u, and most likely random failures on other 64-bit architectures when the process has a large memory footprint.