lib/write: Add some debugging messages.
ppc: iconv: Source is UTF-16LE not just UTF-16.

On big endian architectures like PowerPC, "UTF-16" means "UTF-16BE"!
lib: Add attribute((packed)) on inner struct.

Apparently this attribute is not "inherited" from the outer struct to
the inner struct.
ppc: handle: Display block id in debug output portably.

On PowerPC, 'char' is 'unsigned char', whereas on everything else it
is 'signed char'.  Therefore the block id fields got printed
differently (unsigned integers on ppc, signed numbers everywhere
else).

Change this debug message to be more informative and portable.
lib: Add debugging of return values from _hivex_get_children.

The debugging is commented out as it's huge and wasn't especially
useful.