tiffenc: Check zlib support for deflate option during initialization