std.random: update imports
Change model detection on Solaris.

Uses the same command as in druntime makefile.
Merge pull request #2757 from redstar/solaris_make

Change model detection on Solaris.
Merge pull request #2754 from 9il/random

std.random: update imports