Remove AC_LANG_FUNC_LINK_TRY for all except Fortran 77

Other variants are derived from 77 so inherit this function