[POWERPC] Check for the root node in of_detach_node()