mediafoundation: Use core dispatcher of current view instead of main view

Merged Seungha Yang requested to merge seungha.yang/gst-plugins-bad:mf-dispatcher into master

Main view might be hidden depending on application's view tree. In that case, ICoreApplication object doesn't return get_MainView() method

Note that nothing about this behavior was documented by Microsoft

Merge request reports