[PATCH 5.15 071/244] clk: mediatek: clk-mt6765: Add check for mtk_alloc_clk_data