[PATCH 6.6 188/603] clk: mediatek: clk-mt6797: Add check for mtk_alloc_clk_data