gstplugin: Fix for UWP build

SetThreadErrorMode() API is available on UWP but flag values
are desktop API only. Since error dialogs don't exist on UWP,
we don't need to suppress it

Part-of: <gstreamer/gstreamer!1569>
34 jobs for !1592 with backport-mr-1569-into-1.18-uwp-build in 32 minutes and 29 seconds (queued for 2 seconds)
merge request