feat: use `BaseIO` at `IO.rand` (#6102)

This PR moves `IO.rand` and `IO.setRandSeed` to be in the `BaseIO`
monad.

This is their proper monad as neither can error.
1 file changed