core: align stack on a 32bit boundary

Fixes #1267.
`#ifdef` removed in favor of generic-only solution.