x86: fdct: Employ more specific ifdefs

This avoids building mmxext and sse2 code when disabled by configure.