p2pd: fix recomputeIPv4HeaderChecksum function