Add missing casts in arguments to ctype functions.