configure.ac: fix build without stack-protector
configure.ac: fix build without stack-protector

Compiler based hardening (including -fstack-protector-strong) are
enabled since version 3.0.3 and
https://github.com/lxc/lxc/commit/2268c27754152aa538db2c9e3753d72d19bcd17a

However, some compilers could missed the needed library (-lssp or
-lssp_nonshared) at linking step so use ax_check_link_flag instead of
ax_check_compile_flag

Fixes:
 - http://autobuild.buildroot.org/results/0b90e7dca2984652842832a41abad93ac49a9b86

Signed-off-by: Fabrice Fontaine <7d88633730b8b85c1516e612893df72eae9cd341@gmail.com>

hallyn/lxc,hallyn/lxc,hallyn/lxc,ss1h2a3tw/lxc,caglar10ur/lxc,ss1h2a3tw/lxc,ss1h2a3tw/lxc,caglar10ur/lxc,caglar10ur/lxc