[PATCH 4.14 007/284] spi: Fix erroneous sgs value with min_t()