configure.ac: Use modern version of `AC_CHECK_TYPES'.