This commit fixes a bug in netbuf_destport() where LWIP_NETBUF_RECVINFO is enabled, but not LWIP_CHECKSUM_ON_COPY is enabled The flags field is only available when LWIP_CHECKSUM_ON_COPY is enabled. In this mode, the toport_chksum is dual functioning as storage for port and checksum