[PATCH 5.10 061/191] clk: mediatek: clk-mt2701: Add check for mtk_alloc_clk_data