[PATCH 5.10 060/191] clk: mediatek: clk-mt7629: Add check for mtk_alloc_clk_data