Just buy an RX7 FD3. For what you're spending its the better option plus its likely to hold its value. A modified rx8 on the other hand wont. Plus you avoid all of the inevitable headaches of an engine swap.
Yeah if a non rotary engine swap isn't up your street, then I'd get rid of the RX8 and go to the RX7.
Now would be the best time to do so