core: Workaround Qt 4 SQL bindValue() duplicates