Include wmcodecdsp.h and remove duplicate GUID definitions.

Based on a similar commit of LAV Filters.
Simplify build_ffmpeg.sh now that we use out-of-tree compilation.
Use a bitcheck instead of casting (WIP).

Fixes CID #965944.
Options dialog: Disable "Reset" when the INI is read-only.

Ref #3591.