Primecoin HP: Fix optimized GetBlockWork() from commit b6a92cd8b9 so that the results match the original code.

The optimized version was incorrectly producing values multiplied by 32^6 compared to the original.
This didn't break anything because every related value was multiplied by the same constant.