Ahaggar: return -1 if this is not a <function_decl>

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