Pack litflag with opcode.

Litflag and opcode are now 16-bit unsigned integers.
Add packed litflag/opcode support.

opcode and litflag are now uint16_t.