Don't enable -fstack-protector-all.

It is not supported on all architectures and is problematic on some
platforms.
Fix handling of --with-libgcrypt.