configure: use AC_CHECK_HEADERS to check for endian.h