Move adding the '-test$(EXESUF)' suffix to test programs into common.mak.