Move deprecated function to deprecated.c. Use public api instead of internal
api to obtain temp dir.

* subversion/libsvn_wc/adm_files.c
  (svn_wc_create_tmp_file2): Move this function from here...

* subversion/libsvn_wc/deprecated.c
  (svn_wc_create_tmp_file2): ... to here. Stop opening a raw
    db handle.


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