sqlite 3.7.17
zeromq: apply patch for strndup on 10.6

Fixes #19877.