New util function to hash_combine a range.