ctype: implement islower/isupper macro