configure: move local autoconf macros to m4/charybdis.m4
m4/pkg.m4: add pkg-config-0.24 macros
aclocal.m4: rerun aclocal
configure: use pkg-config for sqlite