[PATCH 5.4 036/177] selftests/gpio: Fix build when source tree is read only