[SQUASH ME] cpu: more fixes to gpio drivers
tests/periph_gpio: added test cases for GPIO driver