[U-Boot] [patch] replace mkimage.c write() calls with full_write()