Bug #654196 make check fails without sqlite DBD installed

Test for dbd driver for each backend before trying to test that backend

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23180 57a11ea4-9604-0410-9ed3-97b8803252fd