aic: Fix decoding files with odd dimensions