Remove the ctype.h function call.

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