qiprog: Do not use GNU old-style field designator extension

clang complains when initializing struct fields with "field: value,"
instead of ".field = value,".

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
qiprog: Move device tests to a separate file

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
qiprog: Fix copy-paste error in debug message

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