adding more than 4 channels random Mats support

if `Scalar:all` is used, Mats with 5+ channels cause errors
Merge pull request #2015 from apavlenko:2.4_fix_ts_rng-fill