[PATCH openEuler-1.0-LTS 09/13] of: resolver: Add of_node_put() before return and break