[MediaFoundation] Fix compilation issue on WinRT