[PATCH 5.10 260/381] openrisc: Properly store r31 to pt_regs on unhandled exceptions