Real-time: fix NPE when using frequency-based trip.

State tripTimes used for real-time delay can be null for a frequency-based trip.