gpio: fix test.py for gpio label lookup