Fix races in GHBM surface creation and usage

This CL also decouples LHBM from GHBM, removing unnecessary operations
with the GHBM SurfaceView when LHBM is requested. This saves up to 5 ms
of rendering time in certain scenarios.

Bug: 190239478
Bug: 190345678
Test: manual
Test: perfetto
Change-Id: I83f5e1dcea6a4d4209025e921c704c4f7ff0af60
4 files changed