XS extension for List::BinarySearch