ahaggar-ast: separate function_decl and function_body output

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>