sqlite should assume corruption if file header is bad

sqlite doesn't think corruption when it detects bad file header. on android,
there should be no reason to try to open a database file and find
a bad header. so, add android patch to sqlite to assume corruption
when this occurs.

Change-Id: I6b26613852b5247799af35a9c8e166b32ba697ff
diff --git a/dist/sqlite3.c b/dist/sqlite3.c
index 1376241..2550bb0 100644
--- a/dist/sqlite3.c
+++ b/dist/sqlite3.c
@@ -40101,6 +40101,12 @@
 page1_init_failed:
   releasePage(pPage1);
   pBt->pPage1 = 0;
+  // Begin Android-add
+  if (rc == SQLITE_NOTADB) {
+    // the file-header is bad. assume that it got corrupted and return "corruption error"
+    rc = SQLITE_CORRUPT_BKPT;
+  }
+  // End Android-add
   return rc;
 }