Density-functional errors in ionization potential with increasing system size