fix commit 0aa5cea8 (main/sqlite: fix CVE-2019-16168) which did not fix CVE-2018-20346 but CVE-2019-16168. also remove duplicate CVE-2019-19242 ref #11914