Cleanup and send janktype as a bitmask to perfetto

This change sends jankType as a bitmask rather than typed enum, to
perfetto. Also cleans up the TODOs related to this bug.

Bug: 175843808
Test: libsurfaceflinger_unittest
Change-Id: Ib1f7f4a6fdb4c8cd563c26a8d1c3d2ae7b4840db
2 files changed