better type leak checks
don't output transparency ifrom openslide

openslide now always outputs solid colours, helps vips_flatten() convert
to RGB for jpg tile save correctly