Koopmans' condition in self-interaction-corrected density-functional theory