mat: reduce allocation from pool use
mat: reduce allocation from pool use

This was flagged by staticcheck as "SA6002 – Storing non-pointer values
in sync.Pool allocates memory".

gonum/gonum,gonum/gonum,gonum/gonum