spi: Fix off-by-one error in calculating cycles per data frame