Readd the C++ ABI alignment handling logic

This code was accidentally removed during Emscripten support removal.

R=stichnot@chromium.org

Review URL: https://codereview.chromium.org/1735523006 .
2 files changed