Fixed out of bounds error while calculating checksum for odd-length ICMP v4 echo requests

Related to #NMS-7073.

Please review and merge.