Fix random number generation and floating point comparison in matrix-types-spec.cpp

The testsuite is failing on PowerPC buildbots due to https://reviews.llvm.org/D72770.
Looks like we are using wrong type generator for double.

We are also using EXPECT_MATRIX_EQ to do binary comparision of
floating point values before and afer multiplication. And there might be
small differences but within tolerance allowance.

Reviewed By: fhahn

Differential Revision: https://reviews.llvm.org/D83910
1 file changed