[PATCH 5.15 076/244] clk: mediatek: clk-mt2701: Add check for mtk_alloc_clk_data