common: Fix WIN32 portability for recent userpref security fix
common: Fix WIN32 portability for recent userpref security fix

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