libqiprog: Add members for max and end address in device struct

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
libqiprog: Initialize all device struct members to 0

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