SI: Fix bounds check in GetDeviceType