Remove unused clean_mode arguments.

clean_mode flag was only used in main. It was also used to find out
whether symlinks should be created, but modes that do not need symlinks
(e.g. display and syntax check) never do anyway.