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