[PATCH v2 01/12] cmd: bootefi: unfold do_bootefi_image()