Fix pin count bug in libgeda