Fix IP checksum calculation when option_length == MAXOPT