Hamming distance and bit counting primitives in Go (golang)