Some replacement of ctype.h routines missed by the previous commit.

Change-Id: I0d132fceb68141b4e587311f7043ea990b3d083a
Reviewed-on: https://code.wireshark.org/review/4784
Reviewed-by: Guy Harris <guy@alum.mit.edu>