Fix alignment tests for ARM on Linux. #14848

This should solve issue 14848 for ARM.