Fixed the renaming pass to consider forward declarations and function type defs