Reset the device if firmware update fails

If there is a mismatch in the device information the tool will return an error
but, this may leave the device in the bootloader. Reset the device before returning
the error to place the device back into the UI (successful update already resets the device).
1 file changed