[PATCH 5.10 210/593] spi: Avoid undefined behaviour when counting unused native CSs