user workaround to compare CLOB column with CHAR value

fixes https://github.com/owncloud/core/issues/6854

@DeepDiver1975 @blizzz @karlitschek