Fixes Issue 9648 - Make import to std.random independent of -unittest switch.
Merge pull request #1187 from AndrejMitrovic/Fix9648

Issue 9648 - Make import to std.random independent of -unittest switch