Use pragma WAL in db connections

WAL mode allows db connections to open when the disk
is full. This is done in the current and legacy db and
tested manually by the commandline.

Testing: Filled a file with empty values until it took up all the space on the disk then accessed the database. This was not possible with this mode disabled but was once I enabled it on a new flash

Bug: 191777960
Test: atest keystore2_test and atest CtsKeystoreTestCases, filled real device to full and tested
Change-Id: Ic1a45fd635168061a6c5489a42a67cb59d3ddc6a
diff --git a/keystore2/Android.bp b/keystore2/Android.bp
index af5f117..cfac54d 100644
--- a/keystore2/Android.bp
+++ b/keystore2/Android.bp
@@ -42,11 +42,11 @@
         "android.security.metrics-rust",
         "android.security.rkp_aidl-rust",
         "libanyhow",
-        "libkeystore2_flags_rust",
         "libbinder_rs",
         "libkeystore2_aaid-rust",
         "libkeystore2_apc_compat-rust",
         "libkeystore2_crypto_rust",
+        "libkeystore2_flags_rust",
         "libkeystore2_km_compat",
         "libkeystore2_selinux",
         "libkeystore2_hal_names_rust",