swappy: add stats based on ANDROID_get_frame_timestamps

Add a feature to Swappy to collect frame statistics.

Test: logcat -s FrameStatistics
Bug: 122345413
Change-Id: I4de420ab6ce0c8ac35882c04cecf0e243cb6c701
14 files changed