Remove all use of stacksave/stackrestore intrinsics

They seemed to be tripping up NaCl. I've been burned by them too many times
now. Replaced them all with allocas at the function entrypoint.
Don't use inline assembly when compiling for NaCl.