Update GPIO.c

Added to condition for swapping pins, will not swap exported pins