[PATCH v3 6/7] selftests: gpio: port to GPIO uAPI v2