fix: widen seed/state types in random/base/randi
#12568
+4
−4
Draft