diracdec: check dimensions against chroma format.