[U-Boot] [PATCH 5/7 v2] spi: altera: Clean up the use of variable d