Fix writing of pin labels in GDS
Of the three commits in this series:
- is a simple logic bug, I think
- makes the behaviour match other tools and seems to be what Magic/KLayout expect
- I'm less sure about in case there was a reason for this difference between external and non-external pins I was missing?
Edited by Myrtle Shah