ziggurat: use exclusive or for the seed like the original C code