Keep static variables local in non-cps functions

Static local variables are not supported in cps functions currently
(bugs in splitting and lambda-lifting). We keep them in native
functions because it allows programs where static variables are
initialized with other local variables. This happens for instance
in QEMU.