Don't compile the SQLite amalgamation twice. The WC test can use the same
wrapper as libsvn_subr.

* build.conf (wc-queries-test): Add sqlite3wrapper from libsvn_subr to sources.
* subversion/tests/libsvn_wc/wc-queries-test.c: Don't include sqlite3.c;
   Instead, use the same method as libsvn_subr/sqlite.c to import the
   wrapped functions from sqlite3wrapper.c
  (test_sqlite_version): Call sqlite3_libversion instead of using the
   sqlite3_version array directly, since the latter is not exported from
   sqlite3wrapper.c.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1536364 13f79535-47bb-0310-9956-ffa450edef68