Update gpio.tcc

bugfix, resetting of some gpio mode bits(even during few cycles) is undesirable, especially if the pins are used in AF mode