[openEuler-5.10 373/557] clk: mvebu: ap-cpu-clk: Fix a memory leak in error handling paths