(strcspn): Optimize also reject string of length 2 and 3.