Fix bytecode annotation lookup.

It made bad assumptions about C structure packing and didn't handle
endianness right. Still doesn't in bytecodedump, though it at least
looks a lot righter on little endian now.
Don't leak annotation lookup result.