spinlock/x86: move stack declaration before code