net: macb: Fix clk API usage for RISC-V systems