JIT: implement frsqte

Mostly a straightforward translation of the interpreter code, with a few tricksy optimizations and fallbacks for rare paths.
True, maybe a hwtest is what's needed here.