[PATCH 5.4 180/282] openrisc: Properly store r31 to pt_regs on unhandled exceptions