Add a ASM_CLOBBER_REGS macro.
Add calls to clobber registers.

This also correctly handles the extra stack used by the main thread.