[PATCHv4] gpio: add get/set helpers for GPIO lines