optimize reg/mem stuff around setjmp lowering