tools/gpio: move to tools buildsystem