Adjust tests for older versions of SQLite.

Notice when DBD::SQLite is installed, but compiled with a version of SQLite
that is too old. Then test that an exception is properly thrown when that
happens.