Fix bug introduced by last commit - hasMedia was not defined when
using RTP streaming without PCAP.
Fix scheduler bug - a statistically-distributed pause that returned a
negative value would cause SIPp to pause for INT_MAX
milliseconds (about two days).