[Concept] [PATCH 13/14] mkimage: define log_err and log_info