Link to SSL-using modules to libsyslog-ng-crypto too

Since OpenSSL needs some initialization to work properly, link afql to
libsyslog-ng-crypto to do that. If we don't do this, then loading
afsql (or any other module that uses OpenSSL) before anything that uses
libsyslog-ng-crypto (like afsocket) will fail and result in a
segmentation fault.

Affected modules are: afsql, afmongodb and afsmtp.

Reported-by: Imre Lazar <imre@balabit.hu>
Signed-off-by: Gergely Nagy <algernon@balabit.hu>