[PATCH 6.18 355/614] clk: spacemit: Set clk_hw_onecell_data::num before using flex array