[libFuzzer] replace slow std::mt19937 with a much faster std::minstd_rand; second attempt after failed r352732, this time with a fix for cmake

llvm-svn: 353782
GitOrigin-RevId: 73bf6d5b350067a6ba4e45098fcedf23fa1cb4bc
diff --git a/FuzzerRandom.h b/FuzzerRandom.h
index af8e1a4..659283e 100644
--- a/FuzzerRandom.h
+++ b/FuzzerRandom.h
@@ -14,10 +14,10 @@
 #include <random>
 
 namespace fuzzer {
-class Random : public std::mt19937 {
+class Random : public std::minstd_rand {
  public:
-  Random(unsigned int seed) : std::mt19937(seed) {}
-  result_type operator()() { return this->std::mt19937::operator()(); }
+  Random(unsigned int seed) : std::minstd_rand(seed) {}
+  result_type operator()() { return this->std::minstd_rand::operator()(); }
   size_t Rand() { return this->operator()(); }
   size_t RandBool() { return Rand() % 2; }
   size_t SkewTowardsLast(size_t n) {