Fixing a bug in usbmuxd

Basically applying this patch: https://github.com/libimobiledevice/usbmuxd/pull/17