string: Implement strnlen() if it is missing.