End the trace section while the surface has destroyed

- Also invoke end method in surfaceDestroyed.
- Add debug logs

Bug: 183348579
Test: atest FrameworksCoreTests:InteractionJankMonitorTest
Test: atest FrameworksCoreTests:FrameTrackerTest
Test: Check the pftrace file
Change-Id: Ic3ab5212bd1d5a828ef6605814dafa4ecca3df0d
4 files changed