Steal improved hash function from Folly for array_view<char>.