usb_dev: Properly handle byte order in write[16/32]

Only USB data is little-endian. Do not assume that the device is also
little-endian, and avoid dereferencing a casted pointer. Instead, use the
byte-order helpers

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