JPEG: Reduce multiplications in IDCT
JPEG: Add quick checks to avoid mults