fixed USB VID/PID detection bug

When a USB device with same VID but different PID is found, it got
selected as STLINK device.
Merge pull request #173 from JohannesTaelman/master

fixed USB VID/PID detection bug