prng: make rand_r have 2^32 period instead of 2^31