[PATCH v13 6/7] selftests: gpio: add a helper for reading GPIO line names