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).
Merge pull request #396 from Sissors/master

[KLxxZ] Increased KLxxZs interrupt handling speed