ctype: add default cases to switch statements to suppress -Wswitch warnings with clang