Fix bug #37284906, adb shell crashes on windows with invalid options. For example, "adb.exe shell -list" crashes without this fix. Test: adb.exe shell -list-packages
am: f0a4fb6ea5

Change-Id: I34d4ee5b73e65cbdd79936747eb6ed144433b8f7