Fix crash in footprint editor when SMD pad diameter is zero. (fixes lp:1378917)