sqlite: Errors: Use SQLITE_ERROR_SNAPSHOT only when available

Fix #139
5 jobs for master in 32 minutes and 26 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Test
passed #304814
amd64 debian
asan-ubsan

00:14:13

passed #304813
amd64 debian
coverage

00:18:11

79.9%
passed #304810
amd64 debian
linux

00:18:58

passed #304811
win32
win32

00:23:04

passed #304812
win64
win64

00:21:42