Add generic strnlen_user