Increased KLxxZs interrupt handling speed

Instead of checking one bit at a time use a simple binary search
algorithm. Speed increase is roughly 250% (bit more for KL46).