[mcu_periph] gpio helper functions

also removed the old gpio1 that was used on lpc and fixedwing firmware