ffmpeg: compile with -mstackrealign -mpreferred-stack-boundary=4

Otherwise certain versions of mingw will produce non-16-byte-aligned
stack which eventually crashes on SSE instructions code within ffmpeg.