Use HAVE_ALTIVEC preprocessor conditionals like in the rest of FFmpeg.