Move caffe_rng_rand() into util/rng.hpp.