On the evaluation of molecular electron affinities by approximate density functional theory