Reduce the exposure of the graphics headers.

1) Add RenderThread apex API to dump graphics memory
2) Remove graphics specific headers from non-graphics headers
3) Move frame metrics class outside of the graphics boundary

Bug: 137655431
Test: CtsUiRenderingTestCases
Change-Id: I523185a316ea64fe104068e4186b0802e68f20ed
14 files changed