configure: Replace AC_TRY_LINK with AC_LINK_IFELSE
configure: Replace AC_TRY_LINK with AC_LINK_IFELSE

AC_TRY_LINK is obsolete.

Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/586>

GNOME/librsvg,GNOME/librsvg,GNOME/librsvg,GNOME/librsvg