[PATCH] Replace libdwelf nested functions with macros.