[PATCH 5.13 268/800] spi: Avoid undefined behaviour when counting unused native CSs