Fixes ratsnest crashing on zones with negative net codes.
Pcbnew: fixed SIGFPE arithetic exception. (fixes lp:128339, 1285969, and 1286426)