sqlite: Allow opening of databases with custom collations