syntax: correct the Rand::rand call to select enum variants in #[deriving(Rand)].

Previously, this was not a global call, and so when `#[deriving(Rand)]`
was in any module other than the top-level one, it failed (unless there
was a `use std;` in scope).

Also, fix a minor inconsistency between uints and u32s for this piece
of code.
syntax: revert the uint -> u32 "fix"; make the names/comment match.
xfail test on windows, because extern mod doesn't work there
auto merge of #7121 : huonw/rust/rand-call, r=pnkfelix

r? @pnkfelix