[AC] Proper test for HAVE_DECL_SYS_SIGLIST