qiprog: Identify the flash chip's size based on its ID

Generally, there is no reliable way to probe a chip's size, so the best way
to find it is to look it up base on the device's manufacturer and vendor
ID. Use a minimal table for this.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
qiprog: Fail verification right away if file is wrong size

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
qiprog: Use detected chip size when reading flash chip

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