idct: Convert IDCT permutation #defines to an enum