Backwards compatibility for libdatabase_sqlcipher

Change-Id: Icf834c7ce224fd70a7a005afbea4b14b582dbdd2