Turbostat: confine AC_COMPILE_IFELSE() inside a AC_CACHE_CHECK block