[matrix] remove impossible cast between different size (eg: 3x3 to 4x4)
Unsatisfying fix for matrix -> quaternion conversion (https://github.com/p0nce/gfm/issues/18).