really need to declare SP close to where it's used

the stack can be reallocated in basically any perlapi function, so need
to make sure SP is still valid
make sure this doesn't come up in other places