meson: fix cross-building GIMP.
We don't want to fail the build configuration just because we can't test for runtime dependencies. In such a case, just assume it's good as we at least have libheif and we can compile. Fixes: > ../meson.build:756:2: ERROR: Can not run test applications in this cross environment.