[PATCH v4 0/4] cmd: bootefi: refactor the code for bootmgr