periph_ctrl: Refactor to add periph_module_reset(), avoid potential race in SPI DMA workaround See merge request !1349