[SingleSource] Don't instantiate uniform distribution with char.

As @Kai pointed out post-commit, instantiating
std::uniform_int_distribution with char is UB. To avoid this, use the
widest type the test uses (uint64_t) and convert to smaller values as
needed.
3 files changed