[PATCH 5.4 012/475] spi: Fix erroneous sgs value with min_t()