Use existing functions for matrix calculations


...in QSvgFeColorMatrix' constructor and apply(). This keeps the same
math but uses existing functions with for-loops instead of rewriting
calculations for each individiual value. This shall improve the code's
readability and maintainability.

Change-Id: Ie62f0000d939f3f05f8869553c86f8135cd57837
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
commit08229247faa3681dcbe099722571d7ee8b14fbe7
parente8baad187522145f22ab4041745f09d7ab965271
authorRobert Löhning <robert.loehning@qt.io>
committerRobert Löhning <robert.loehning@qt.io>
commit timeFri, 24 Oct 2025 00:30:51 +0200