Precompute and store the hash for operators that use GroupByHash or have hash partitioned output

I'd pull this code and the other use hash position code into a method `getHashBosition(Block hashBlock, int position)` to assure we get the same code.