Fix Random.shuffle to not rely on std lib shuffle that differs between l...

...ibstdc++ and libc++.