[arm] Fix alignment problems when AOTing from osx to arm linux.