[PATCH 4.17 018/220] PM / Domains: Fix error path during attach in genpd