Older SunOS systems come without strnlen, add STRNLEN macro in line with the other str* compat macros.