[U-Boot] [PATCH v3 17/21] efi: Split out test init/uninit into functions