configure: Fix alignment tests when cross compiling