check_ping: output perfdata in seconds

Just turning attached patch of github issue #1025 into a push request.