This commit fixes an error in the hls: dist2 is capable of being a 64-bit value and must not be signalled as 32-bit.