Compile x86/swscale_template with -mno-red-zone.