sqlite3: fix readline

--enable-readline is broken:
  - it searches for readline.h instead of readline/readline.h
  - it does not abort when it fails to find headers
Use --with-readline-inc so that it sets HAVE_READLINE.

Also use the dedicated configure option to enable update limit.
And sqlite3 does not depend directly on ncurses.
17 jobs for master
in 0 seconds, using 0 compute credits, and was queued for 0 seconds