selftests/gpio: Fix build when source tree is read only