Add correct dependency generation options

Add command line arguments to preprocessor to correctly output
dependency rules when using -MD or -MMD.
This avoids creating a -.d file when building FFMpeg.