Centralise SQLITE_DEFAULT_FILE_PERMISSIONS avoidance.

* subversion/libsvn_subr/sqlite.c
  (internal_open): Avoid SQLITE_DEFAULT_FILE_PERMISSIONS here.
  (svn_sqlite__hotcopy): Remove avoidance code.

* subversion/libsvn_fs_fs/rep-cache.c
  (open_rep_cache): Remove avoidance code.

* subversion/libsvn_wc/wc_db_util.c
  (svn_wc__db_util_open_db): Remove avoidance code.

* subversion/libsvn_subr/sqlite3wrapper.c
  (SQLITE_DEFAULT_FILE_PERMISSIONS): Set for amalgamation builds.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1548097 13f79535-47bb-0310-9956-ffa450edef68