hw/intc: sifive_plic: Add a reset function