mkimage: do not fail if there is no print_header function