wintab32: Correctly handle devices with a device id of 0.