Consistenly use milliseconds

Return the elapsed time in milliseconds, to be consistent with timeout
option and with ping(8).