Select optimized DCT implementation via x86state.c and test all implementations in dcttest.