fix device type handling with extended attributes

If character device files have extended attributes then
unsquashfs will incorrectly create them as block
device files. This patch checks if the file is character
device file in case it has extended attributes.
1 file changed