Existing codes rely on modified argc value by g_option_context_parse() but g_option_context_parse_strv() is used in case of Windows. Count arguments after the option parsing manually. Fixing command "gst-inspect-1.0.exe -b" Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4313>