Revert commits from AOSP Master branch

Revert "Change android fix for fts backward compatibility patch of sqlite3.c for newer sqlite version"

This reverts commit ef1707658c3d2e74924bdd0579b87c00d39d5734.

Revert "Fix bugs of sqlite that returns SIGBUS on disk full in WAL mode"

This reverts commit 9bcfad8e1d38e4e8360c86205cf88934e9a80f5f.

Revert "Fix bugs of database corruption following IO error on systems supporting atomic-write"

This reverts commit 82190d31e641264cd32297197898768a84ef5086.