avcodec/cfhd: only increase s->level if transform is supported