Small refactoring
Add JITted versions of pp_unstack and pp_nextstate

They make a 5-10% difference in some microbenchmarks, but are
probably not a big win in the general case; committing them since
the implementation is there and is easy to seitch on/off.