Extract functionality of --add_link option to separate program.

That program is Porting/add_link.pl.