[U-Boot] [PATCH 02/53] binman: Move image-processing code into a function