efi: fix NULL-deref in init error path