drivers: gpio periph driver fixes 2