htsmsg: Must check f->hmf_childs to know if there are childs or not

Fixes #2178