[Android] Refactor openssl code to separate file and target
Summary:
CommonCpp/DatabaseManagers also makes use of sqlite +
openssl, refactor the logic so that the related openssl gets
moved to it's own file.
https://linear.app/comm/issue/ENG-3002
Depends on D6621
Test Plan:
Android gate passes.
Local dev workflow also works:
# start keyserver and native (cd keyserver && yarn dev &) (cd native && yarn dev &) cd native && yarn react-native run-android
Reviewers: max, atul
Reviewed By: max, atul
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D6721