Window adb device contains a '\r' character, translate string to integer comparing. Bug: 232488036 Test: 1. Excute python.exe winscope_proxy.py on Window Powershell. 2. Launch winscope index.html and set the Winscope token. 3. Tablet connect adb and winscope select the device. 4. Tap the 'DUMP STATE' button. Change-Id: I8c261da523763982ea4a4bfae6883694b221883c