gpiolib: use dedicated flags for GPIO properties