check_icmp: Cast size_t values for printf(3)

Convert size_t values to unsigned long for printf(3) in order to
maximize portability.