Handle CSP properly during stack allocation on ARM.

Write the new CSP before using the stack.