update nand-image.py

Signed-off-by: Conke Hu <conke.hu@maxwit.com>