[PATCH 5.15 321/371] openrisc: Properly store r31 to pt_regs on unhandled exceptions