utils: fix seeding of the random generator

If the fread didn't read all in one go, the buffer was being repeatedly
overwritten from the start instead of continuing the read :-/
I also changed the overall approach in some respects.
5 jobs for rand_uint
in 1 minute and 57 seconds and was queued for 1 second