fix return address calculation in RTI