idevice: Fix several memory leaks on deinitialization of OpenSSL
idevice: Fix several memory leaks on deinitialization of OpenSSL

patweb/libimobiledevice,libimobiledevice-win32/libimobiledevice,kalev/libimobiledevice,upbit/libimobiledevice,Tatsh/libimobiledevice,patweb/libimobiledevice,Tatsh/libimobiledevice,kalev/libimobiledevice,libimobiledevice-win32/libimobiledevice,Tatsh/libimobiledevice,Tatsh/libimobiledevice,libimobiledevice-win32/libimobiledevice,kalev/libimobiledevice,libimobiledevice/libimobiledevice,upbit/libimobiledevice,libimobiledevice/libimobiledevice,libimobiledevice-win32/libimobiledevice,upbit/libimobiledevice,patweb/libimobiledevice