libqiprog: Fix copypaste error in h_to_le32() (Trivial)

h_to_le32() takes in a uint32_t, not a uint16_t.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
usb_host: Implement set_address()

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
libqiprog: Add core implementation for readn()/writen()

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
libqiprog: Style fixes (Trivial)

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