libtiff: Provide zlib allocation functions. This is required when zlib with -DZ_SOLO is used. Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>