Fix alignment tests for ARM on Linux. #14848
auto merge of #16179 : SimonPersson/rust/master, r=brson

This should solve issue 14848 for ARM.