[PATCH 4.14 20/59] fpga: altera-ps-spi: Fix getting of optional confd gpio