Fix for r84195: add HAVE_ALLOCA_H to configure and only include alloca.h if it's available
Issue #18256: Compilation fix for recent AIX releases.  Patch by David Edelsohn.