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

State tripTimes used for real-time delay can be null for a frequency-based trip.
Merge pull request #1143 from laurentg/upstream

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