avcodec/tiff: Support yuv 420 and 444