use <random> instead of rand()

Change-Id: I0379042c4b13a70667174a36bc55ba41944ac77d
Reviewed-on: https://skia-review.googlesource.com/c/177004
Reviewed-by: Mike Klein <mtklein@google.com>
2 files changed