rt: Move win32_require out of the rust_kernel type

This is only used on rust_rng, which I am trying to extricate from
the kernel.
rt: Eliminate the dependency on rust_kernel from rust_rng
core::rt: Add a test that rng works with new tasks
auto merge of #6307 : brson/rust/rng2, r=brson

Closes #6280