[PATCH 6.12 145/262] drivers/base/node: handle error properly in register_one_node()