[PATCH v3 2/5] mkimage: fit_image: handle multiple errors when writing signatures