gdal: patch to fix segfault when compiled against sqlite 3.8.7