idevice: Fix compilation with OpenSSL before 1.0.0-beta1
idevicedebug: Fix error variables for type consistency
idevicedebug: Fix small memory leak
idevicedate: Remove space and fix syntax of preprocessor conditionals