[PATCH 3/4] selftests/gpio: Fix build when source tree is read only