pcbnew: bugfix for "PNS router allocates all memory"