LoongArch: Cleanup reset routines with new API