fix #1544

We have already reserved that register in codegen()'s case NODE_DEF, but
what we care about in scope_body() is actually the previous register. So what we need is
get that register by cursp() after pop(), then recover the reservation
by push().

#1544