clk: get matching entry under lock in of_clk_init()