[MediaFoundation] Fix compilation with ServiceProvider