snmpd: DISMAN-PING-MIB: Make ping implementation
independent of ntpd clock jumps

backport of testcase
fix use of linux specivic header and typs