[PATCH 02/22] tap, tcp: Fix two comparisons with different signedness reported by gcc 7