Fix compatibility with Go < 1.8
Fix compatibility with Go < 1.8

Go 1.8 added `*Rand.Uint64()` in math/rand. Since `lib/properrandom` is
little more than a collection of math stubs around crypto/rand, there's
no reason not to implement it directly from the source.

thijzert/speeldoos