clk: mediatek: clk-mt6765: Add check for mtk_alloc_clk_data