Properly handle the hash-style linker check when cross-compiling
Properly handle the hash-style linker check when cross-compiling

Currently the hash-style check fails when cross-compiling,
use AC_RUN_IFELSE to properly handle this case.

checking for --hash-style gcc linker support ...
./configure: line 12119: ./conftest: cannot execute binary file

Change-Id: I77c2d6a859c1c2e6ba42f31b527a9507127d0644
Reviewed-on: https://gerrit.libreoffice.org/11496
Reviewed-by: Caolán McNamara <301f5784f9f6aac04077f24f1e5abc31af69d401@redhat.com>
Tested-by: Caolán McNamara <301f5784f9f6aac04077f24f1e5abc31af69d401@redhat.com>

JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core