Add support for alloca() and also functions used by the Wordgraph displa...

Currently alloca.h is not #included.
GCC needs a definition from it for inlining alloca().
Other compiler/systems may need this file too.

Support is added also for 2 functions used in the Wordgraph display code,
so they will not be used if not available.