[Concept] [PATCH 5/7] efi: Refactor error handling in efi_dump_var_all()