Switch from std::rand::RngUtil to std::rand::Rng.

Due to Rust commit fb923c7d3f8b.