Hygiene: Remove randomness from loop in test/linalg.jl.

Before, a different integer matrix was generated for each type combination where eltya or eltyb was integer which makes reasoning and parallelization difficult (#5735).

This also helps a bit with fixing tests after #5741.