cpu/boards: completed GPIO driver for sam3x8e

~~based on #1484~~

In-depth tested on arduino-due.