libqiprog: Declare structs as __attribute__ ((packed))

Otherwise, some structs will be padded and not have the right size.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>