compute_pkt_fields: fix harmless integer overflow