[PATCH 5.4 034/119] clk: mediatek: clk-mt2701: Add check for mtk_alloc_clk_data