afamqp: Really do not build the module if amqp is disabled

Move the module_LTLIBRARIES declaration inside the ENABLE_AMQP, so
that we don't build an empty shared object when we wanted to disable
amqp completely instead.

Reported-by: Jose Pedro Oliveira <jpo@di.uminho.pt>
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
dbparser: Make tests work with --with-embedded-crypto

When adding support for --with-embedded-crypto, dbparser/tests were
overlooked, and they still relied on libsyslog-ng-crypto being
available. It should've been migrated to CRYPTO_LIBS too, which is
done now.

Reported-by: Jose Pedro Oliveira <jpo@di.uminho.pt>
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>