FenceTimeline: Fix a potential race condition

FenceTimeline::updateSignalTimes checks if mQueue is empty without
grabbing the lock. This can lead a situaltion that a threads calls
pop() on an empty queue.

Test: boot
Bug: 132735340
Change-Id: I3007bfc1161797cb4d853506bb354e820bc9105d
2 files changed