cgi/g: add the (LINE|AREA)STACK munin extensions
cgi/g: Handle a STACK as first field

Override a STACK to LINE if it's the first field, since otherwise the
graph doesn't display at all.

We use LINE since we do not know the type of the previous field, as it
is not present.