[MediaFoundation] Fix issue with AsyncCallback in order for MediaSession to work with it