Implement syncStackPtr() for ARM. Fixes ARM build.