prefer AS_IF over handcrafted if/then/fi
introduce STATGRAB(LIBS|CPPFLAGS) for additional

while statgrab itself gets more complex, requirements becoming tricky, too.
introduce common place to merge build requirement check results and it's
first customer is failing isnan symbol on AIX when lining statgrab.