Revert "Fix shared builds with MinGW"

This reverts commit 7e11704ab32daffcd10c8e7f276d9e1ec147027e.

If --enable-avisynth is used, this causes ffms.cpp to fail
compilation.