x86: fdct: Only build fdct code if encoders have been enabled