[sql mode] Merge functions and builtin list for plsql dialect

Closes #1803