[MediaFoundation] Fix compilation on Windows App and Phone 8