clk: Add error handling to clk_fetch_parent_index()