Add rand/rand_r/srand functions for generating pseudo-random bytes.