scd: Fix error handling with libusb-compat library.