[U-Boot] [PATCH v2 3/9] avr32: refactor the portmux/gpio code