avcodec/tiff: do not allow bpp 40 with undefined pixel formats