dm: core: Supress dead-code warning in __of_get_next_child()