berkeley-db: add --enable-sql option

Closes #15166.