idevicebackup2: Fix scan_directory() for platforms not having d_type in struct dirent
2 files changed