rand: add a helper to generate a random value in a specific range

Signed-off-by: Jens Axboe <axboe@fb.com>
2 files changed