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
Status Job ID Name Coverage
  External
passed Cloudooo.UnitTest-Master

02:55:06

passed ERP5.StandaloneDeploymentScriptTest-Debian.Buster

00:38:07

failed ERP5.StandaloneDeploymentScriptTest-Debian.Buster.Master

15:15:10

passed SlapOS.Eggs.UnitTest-Master.Python2

00:17:21

passed SlapOS.Eggs.UnitTest-Master.Python3

00:20:33

passed SlapOS.Eggs.UnitTest-Master.Python3Next

00:22:16

failed SlapOS.SoftwareReleases.IntegrationTest-Master

08:32:21

passed SlapOS.Theia.ResilienceTest-Master-ERP5

10:17:52

passed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster

00:38:32

failed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster.Master

15:14:50

passed ERP5.StandaloneDeploymentScriptTest-Debian.Buster

00:40:21

passed SlapOS.Eggs.UnitTest-Master.Python2

00:18:45

passed SlapOS.Eggs.UnitTest-Master.Python2

02:39:44

passed SlapOS.Eggs.UnitTest-Master.Python3

02:34:22

passed SlapOS.Eggs.UnitTest-Master.Python3

00:17:25

passed SlapOS.Eggs.UnitTest-Master.Python3Next

02:47:07

passed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster

00:43:38