[PATCH openEuler-5.10 015/557] spi: Fix erroneous sgs value with min_t()