Handle the automatic promotion of short int to int in va_arg
Fix mistaken AC_CACHE_CHECK call in configure.ac