src/lahocorasick: Fix type of `.length`