GDALCreateTPSTransformer(): fix crash if the forward or backward transform cannot be computed (#5588)

git-svn-id: https://svn.osgeo.org/gdal/trunk@27544 f0d54148-0727-0410-94bb-9a71ac55c965
TPS: turn fprintf(stderr, ) error messages into CPL errors; better detection of non-invertable matrix in Armadillo case; add testing of failure when computing forward/reverse TPS transform (#5588)

git-svn-id: https://svn.osgeo.org/gdal/trunk@27546 f0d54148-0727-0410-94bb-9a71ac55c965