efivars: handle errors from register_efivars()