kyber: fix out of bounds access when preempted