Small clean-ups for the random module (GH-21038)

1 file changed