SurfaceFlinger: check for nullptr on setFrameTimelineVsync

Make sure that the layer still exists before trying to set
the vsync id for it.

Bug: 169577113
Test: manual
Change-Id: I4a0661adb7fc42476bfaf9d1c9f43999763d4c40
1 file changed