lockdown: improve lockdownd_query_type result checking
lockdown: improve lockdownd_query_type result checking

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