Fix broken test_icmp due to locale

The float returned by tshark is locale-dependent.
Depending on the locale, a comma can be used instead of a dot as decimal
separator.